<!-- 数据主体 -->
<?php if(!isset($_GET['selected'])){?>
<div class="DataList">
<?php }?>
<volist name="list" id="vo">
<?php if(!isset($_GET['selected'])){?>
  <div class="SelectDataListItem item{$vo.id} widget-container fluid-height" style="margin-top:4px; padding:0 5px;">
    <div class="heading">
    	<i class="fa icon-check-circle"></i>
        <i class="fa icon-circle-o"></i>
        <img src="{$vo.img_url}" width="50" height="50"> {$vo.name} 
        <span class="pull-right">{$vo.nickname}</span>
    </div>
    <div class="DataBox hidden">
<?php }?>
        <!-- 选中的数据主体 -->
        
        <div class="text-primary label" style="position:relative;">
        <a href="javascript:void(0);" onClick="$(this).parent().remove();" style="position:absolute; border-radius:20px; font-size:20px; font-weight:bold; top:0; right:0; background:#f00; display:block; width:20px; height:20px; line-height:20px; text-align:center; color:#fff;z-index:2;">-</a>
        <input type="hidden" name="id<?php if(count($list) > 1 && isset($_GET['selected'])){echo '[]';}?>" value="{$vo.id}">
        <input name="name<?php if(count($list) > 1  && isset($_GET['selected'])){echo '[]';}?>" type="hidden" value="{$vo.name}">
        <img src="{$vo.img_url}" width="50">
        <p>{$vo.name}</p></div>
        <!-- 选中的数据主体结束 -->
<?php if(!isset($_GET['selected'])){?>
    </div>
  </div> 
<?php }?>
  <!-- 数据主体结束 -->
</volist>

<?php if(!isset($_GET['selected'])){?>
</div> 
<div class="PagesBox"><?php echo $pages;?></div>
<?php }?> 